package com.gx.factory.extend;

/**
 * Created by gx on 2017/3/3.
 */
public class B extends A implements C {
    int a ;
    public B(int a ){
        super(a);
        this.a =a ;
        System.out.println("B  构造");
    }

    public static void main(String[] args) {
        A b = new B(555);
        b.QWE();
        b.ABC();
        ABC();
//        b.df();
        C.sf();
    }
    static void ABC(){
        System.out.println("Good");
        System.out.println("Good");
        System.out.println("study");
    }


}
